package com.zhangy.service;
import com.zhangy.mapper.XiezilouMapper;
import com.zhangy.model.Xiezilou;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class XiezilouServiceImpl implements XiezilouService{
    @Autowired
    private XiezilouMapper xiezilouMapper ;

    public void addXiezilou(Xiezilou xiezilou) {
        xiezilouMapper.addXiezilou(xiezilou);
    }


    public void delXiezilou(List arrList) {
        xiezilouMapper.delXiezilou(arrList);
    }


    public Xiezilou selXiezilouById(int zxid) {
        return xiezilouMapper.selXiezilouById(zxid);
    }


    public void updateXiezilou(Xiezilou xiezilou) {
        xiezilouMapper.updateXiezilou(xiezilou);
    }


    public List<Xiezilou> selectXiezilou() {
        return xiezilouMapper.selectXiezilou();
    }
}
